package com.wilmer.stemCourseCon.domain;

import com.wilmer.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.Email;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.util.ArrayList;
import java.util.List;


public class StemCourseCon extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    private Long conId;

    private Long parentId;

    private String ancestors;

    private String conName;

    private Integer orderNum;


    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;
    private String status;

    /** 父课程结构名称 */
    private String parentName;

    private List<StemCourseCon> children = new ArrayList<StemCourseCon>();

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Long getConId() {
        return conId;
    }

    public void setConId(Long conId) {
        this.conId = conId;
    }

    public Long getParentId() {
        return parentId;
    }

    public void setParentId(Long parentId) {
        this.parentId = parentId;
    }

    public String getAncestors() {
        return ancestors;
    }

    public void setAncestors(String ancestors) {
        this.ancestors = ancestors;
    }

    public String getConName() {
        return conName;
    }

    public void setConName(String conName) {
        this.conName = conName;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getParentName() {
        return parentName;
    }

    public void setParentName(String parentName) {
        this.parentName = parentName;
    }

    public List<StemCourseCon> getChildren() {
        return children;
    }

    public void setChildren(List<StemCourseCon> children) {
        this.children = children;
    }
}
